package unotify

import "time"

const (
	TargetTypeUser = 0
	TargetTypeGroup = 1
	TargetTypeAll = 2
)

type IMChannel interface {
	GetDuration() time.Duration
	GetMaxSendSize() int

	SetConfig()
	Send(msg string, targetType int, toUsers []string) error
}

// TODO: 增加Channel处理
// TODO: xxxxxx